package com.lqq.demo4;

public class Student {
    String name;
    char sex;
    int age;
    String address;
    double height;
    double weight;
    double score;

    public Student() {
    }

    public Student(String name, double score) {
        this.name = name;
        this.score = score;
    }

    public Student(String name, int age, String address, double height) {
        this.name = name;
        this.age = age;
        this.address = address;
        this.height = height;
    }

    public Student(String name, char sex, int age, String address, double height, double weight, double score) {
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.address = address;
        this.height = height;
        this.weight = weight;
        this.score = score;
    }

    public void print(){
        System.out.println(name);
        System.out.println(sex);
        System.out.println(age);
        System.out.println(address);
        System.out.println(height);
        System.out.println(weight);
        System.out.println(score);
    }
}
